import Vue from 'vue'
import Router from 'vue-router'

const login = () => import('@/view/Login/login')
const index = () => import('@/view/Index/index')

Vue.use(Router)

export default new Router({
  // mode: 'history',
  routes: [
    {
      path: '/',
      name: 'login',
      redirect: 'login',
      component: login,
      meta: {
        name:'登录',
        rightname:'登录',
      },
    },
    {
      path: '/login',
      component: login,
      name:'login',
      meta: {
        name:'登录',
        rightname:'登录',
      },
    },
    {
      path: '/index',
      component: index,
      redirect: '/index/consumer',
      name:'',
      meta: {
        name:'',
      },
      children:[
        {
          path:'/index/consumer',
          name:'manor',
          component:()=>import('@/view/Consumer/Consumer'),
          meta: {
            name:'用户管理',
            keepAlive:true,
            list:[{'name':'用户管理'}]
          },
        },
        {
          path:'/index/currentpoints',
          name:'currentpoints',
          component:()=>import('@/view/Consumer/Currentpoints'),
          meta: {
            name:'明细',
            keepAlive:false,
            list:[{'name':'用户管理'},{'name':'明细'}]
          },
        },
        {
          path:'/index/hold',
          name:'hold',
          component:()=>import('@/view/Consumer/Hold'),
          meta: {
            name:'持有统计',
            keepAlive:false,
            list:[{'name':'用户管理'},{'name':'持有统计'}]
          },
        },
        {
          path:'/index/harvested',
          name:'harvested',
          component:()=>import('@/view/Consumer/Harvested'),
          meta: {
            name:'待收获',
            keepAlive:false,
            list:[{'name':'用户管理'},{'name':'待收获'}]
          },
        },
        {
          path:'/index/isharvested',
          name:'isharvested',
          component:()=>import('@/view/Consumer/IsHarvested'),
          meta: {
            name:'已收获',
            keepAlive:false,
            list:[{'name':'用户管理'},{'name':'已收获'}]
          },
        },
        {
          path:'/index/personal',
          name:'personal',
          component:()=>import('@/view/Consumer/Personal'),
          meta: {
            name:'信息查询',
            keepAlive:false,
            list:[{'name':'用户管理'},{'name':'信息查询'}]
          },
        },
        {
          path:'/index/inforpersonal',
          name:'inforpersonal',
          component:()=>import('@/view/Consumer/InforPersonal'),
          meta: {
            name:'档案展示',
            keepAlive:false,
            list:[{'name':'档案展示'}]
          },
        },
        // {
        //   path:'/index/manor',
        //   name:'manor',
        //   component:()=>import('@/view/Manor/Manor'),
        //   meta: {
        //     name:'庄园设置',
        //     keepAlive:false,
        //     list:[{'name':'业务管理'},{'name':'庄园管理'},{'name':'庄园设置'}]
        //   },
        // },
        {
          path:'/index/marketing',
          name:'marketing',
          component:()=>import('@/view/Marketing/Marketing'),
          meta: {
            name:'营销账号',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'营销账号'}]
          },
        },
        {
          path:'/index/marketing/awardwinning',
          name:'awardwinning',
          component:()=>import('@/view/Marketing/AwardWinning'),
          meta: {
            name:'获奖记录',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'营销账号'},{'name':'获奖记录'}]
          },
        },
        {
          path:'/index/marketing/addfriend',
          name:'addfriend',
          component:()=>import('@/view/Marketing/AddFriend'),
          meta: {
            name:'好友展示',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'营销账号'},{'name':'好友展示'}]
          },
        },
        {
          path:'/index/vip',
          name:'vip',
          component:()=>import('@/view/Vip/Vip'),
          meta: {
            name:'会员管理',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'会员管理'}]
          },
        },
        {
          path:'/index/manor/index',
          name:'manor',
          component:()=>import('@/view/Manor/index'),
          meta: {
            name:'蜂巢管理',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'蜂巢管理'}]
          },
        },
        {
          path:'/index/winningSetting',
          name:'winningSetting',
          component:()=>import('@/view/Manor/winningSetting'),
          meta: {
            name:'中奖设置',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'中奖设置'}]
          },
        },
        {
          path:'/index/setDetails',
          name:'winningSetting',
          component:()=>import('@/view/Manor/setDetails'),
          meta: {
            name:'设置明细',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'中奖设置'},{'name':'设置明细'}]
          },
        },
        {
          path:'/index/manorvalue',
          name:'manorvalue',
          component:()=>import('@/view/Manor/Manorvalue'),
          meta: {
            name:'蜂巢价值区间',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'蜂巢管理'},{'name':'蜂巢价值区间'}]
          },
        },
        // {
        //   path:'/index/datament',
        //   name:'datament',
        //   component:()=>import('@/view/Manor/Datament'),
        //   meta: {
        //     name:'数据管理',
        //     keepAlive:false,
        //     list:[{'name':'业务管理'},{'name':'庄园管理'},{'name':'数据管理'}]
        //   },

        // },
        // {
        //   path:'/index/recovery',
        //   name:'recovery',
        //   component:()=>import('@/view/Manor/Recovery'),
        //   meta: {
        //     name:'回收统计',
        //     keepAlive:false,
        //     list:[{'name':'运营数据'},{'name':'当天数据'},{'name':'回收统计'}]
        //   },
        // },
        {
          path:'/index/Prohibit',
          name:'prohibit',
          component:()=>import('@/view/Manor/Prohibit'),
          meta: {
            name:'禁止区间',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'蜂巢管理'},{'name':'蜂巢设置'},{'name':'禁止区间'}]
          },
        },
        {
          path:'/index/customer',
          name:'customer',
          component:()=>import('@/view/Member/Customer'),
          meta: {
            name:'客服管理',
            keepAlive:false
          },
        },
        {
          path:'/index/team',
          name:'team',
          component:()=>import('@/view/Member/Team'),
          meta: {
            name:'团长管理',
            keepAlive:true,
            list:[{'name':'团队管理'},{'name':'团长管理'}]
          },
        },
        {
          path:'/index/partner',
          name:'partner',
          component:()=>import('@/view/Member/Partner'),
          meta: {
            name:'合伙人申请',
            keepAlive:true,
            list:[{'name':'团队管理'},{'name':'合伙人申请'}]
          },
        },
        {
          path:'/index/target',
          name:'target',
          component:()=>import('@/view/Member/Target'),
          meta: {
            name:'目标管理',
            keepAlive:true,
            list:[{'name':'团队管理'},{'name':'目标管理'}]
          },
        },
        {
          path:'/index/rewardtarget',
          name:'rewardtarget',
          component:()=>import('@/view/Member/RewardTarget'),
          meta: {
            name:'发放奖励',
            keepAlive:false,
            list:[{'name':'团队管理'},{'name':'目标管理'},{'name':'发放奖励'}]
          },
        },
        {
          path:'/index/landjurisdiction',
          name:'landjurisdiction',
          component:()=>import('@/view/Landjurisdiction/Landjurisdiction'),
          meta: {
            name:'权限帐号',
            keepAlive:true,
            list:[{'name':'团队管理'},{'name':'权限帐号'}]
          },
        },
        {
          path:'/index/addgm',
          name:'addgm',
          component:()=>import('@/view/Member/AddGm'),
          meta: {
            name:'添加蜜贝',
            keepAlive:false,
            list:[{'name':'团队管理'},{'name':'团队管理'},{'name':'添加蜜贝'}]
          },
        },
        {
          path:'/index/manorfp',
          name:'manorfp',
          component:()=>import('@/view/Member/ManorFp'),
          meta: {
            name:'蜂巢分配',
            keepAlive:false
          },
        },
        {
          path:'/index/distribution',
          name:'manor',
          component:()=>import('@/view/Member/Distribution'),
          meta: {
            name:'用户分配',
            keepAlive:false,
            list:[{'name':'团队管理'},{'name':'团队管理'},{'name':'分配'}]
          },
        },
        {
          path:'/index/records',
          name:'records',
          component:()=>import('@/view/Member/Records'),
          meta: {
            name:'分配记录',
            keepAlive:false,
            list:[{'name':'团队管理'},{'name':'团队管理'},{'name':'分配详情'}]
          },
        },
        {
          path:'/index/operate',
          name:'operate',
          component:()=>import('@/view/Member/Operate'),
          meta: {
            name:'运营中心',
            keepAlive:false,
            list:[{'name':'团队管理'},{'name':'运营中心'}]
          },
        },
        {
          path:'/index/operatemember',
          name:'operatemember',
          component:()=>import('@/view/Member/operatemember'),
          meta: {
            name:'管理员',
            keepAlive:false,
            list:[{'name':'团队管理'},{'name':'运营中心'},{'name':'管理员'}]
          },
        },
        {
          path:'/index/jurisdiction',
          name:'jurisdiction',
          component:()=>import('@/view/Member/Jurisdiction'),
          meta: {
            name:'权限设置',
            keepAlive:false,
            list:[{'name':'团队管理'},{'name':'权限设置'}]
          },
        },
        {
          path:'/index/operategm',
          name:'operategm',
          component:()=>import('@/view/Member/OperateGm'),
          meta: {
            name:'运营中心蜜贝调控',
            keepAlive:false,
            list:[{'name':'团队管理'},{'name':'运营中心'},{'name':'运营中心蜜贝调控'}]
          },
        },
        {
          path:'/index/infor',
          name:'infor',
          component:()=>import('@/view/Infor/Infor'),
          meta: {
            name:'介绍管理',
            keepAlive:false,
            list:[{'name':'内容管理'},{'name':'介绍管理'}]
          },
        },
        {
          path:'/index/sharepictures',
          name:'sharepictures',
          component:()=>import('@/view/Infor/Sharepictures'),
          meta: {
            name:'分享管理',
            keepAlive:false,
            list:[{'name':'内容管理'},{'name':'分享管理'}]
          },
        },
        {
          path:'/index/everyday',
          name:'everyday',
          component:()=>import('@/view/Infor/Everyday'),
          meta: {
            name:'每日分享',
            keepAlive:false,
            list:[{'name':'内容管理'},{'name':'每日分享'}]
          },
        },
        {
          path:'/index/agreement',
          name:'agreement',
          component:()=>import('@/view/Infor/Agreement'),
          meta: {
            name:'协议管理',
            keepAlive:false,
            list:[{'name':'内容管理'},{'name':'协议管理'}]
          },
        },
        {
          path:'/index/infor/notice',
          name:'notice',
          component:()=>import('@/view/Infor/Notice'),
          meta: {
            name:'开屏公告',
            keepAlive:false,
            list:[{'name':'内容管理'},{'name':'开屏公告'}]
          },
        },
        {
          path:'/index/infor/roll',
          name:'roll',
          component:()=>import('@/view/Infor/Roll'),
          meta: {
            name:'滚动屏幕',
            keepAlive:false,
            list:[{'name':'内容管理'},{'name':'开屏公告'}]
          },
        },
        {
          path:'/index/receivingorder',
          name:'receivingorder',
          component:()=>import('@/view/Order/ReceivingOrder'),
          meta: {
            name:'产出订单',
            keepAlive:false,
            list:[{'name':'订单管理'},{'name':'产出订单'}]
          },
        },
        {
          path:'/index/orderdetails',
          name:'orderdetails',
          component:()=>import('@/view/Order/Orderdetails'),
          meta: {
            name:'驳回详情',
            keepAlive:false,
            list:[{'name':'订单管理'},{'name':'产出订单'},{'name':'驳回详情'}]
          },
        },
        {
          path:'/index/ordernumber',
          name:'ordernumber',
          component:()=>import('@/view/Order/Ordernumber'),
          meta: {
            name:'查询明细',
            keepAlive:false,
            list:[{'name':'订单编号'},{'name':'查询明细'}]
          },
        },
        {
          path:'/index/aftersale',
          name:'aftersale',
          component:()=>import('@/view/Aftersale/Aftersale'),
          meta: {
            name:'解冻申请',
            keepAlive:false,
            list:[{'name':'客服售后'},{'name':'解冻申请'}]
          },
        },
        {
          path:'/index/aftersale/orderinquiry',
          name:'orderinquiry',
          component:()=>import('@/view/Aftersale/Orderinquiry/Orderinquiry'),
          meta: {
            name:'订单查询',
            keepAlive:true,
            list:[{'name':'客服售后'},{'name':'订单查询'}]
          },
        },
        {
          path:'/index/aftersale/representations/index',
          name:'representations',
          component:()=>import('@/view/Aftersale/Representations/index'),
          meta: {
            name:'申诉管理',
            keepAlive:false,
            list:[{'name':'客服售后'},{'name':'申诉管理'}]
          },
        },
        {
          path:'/index/aftersale/business/index',
          name:'business',
          component:()=>import('@/view/Aftersale/Business/Index'),
          meta: {
            name:'业务管理',
            keepAlive:true,
            list:[{'name':'客服售后'},{'name':'业务管理'}]
          },
        },
        {
          path:'/index/client',
          name:'client',
          component:()=>import('@/view/Aftersale/Client'),
          meta: {
            name:'关联客户',
            keepAlive:false,
            list:[{'name':'客服售后'},{'name':'客服中心'},{'name':'关联客户'}]
          },
        },
        {
          path:'/index/qrcode',
          name:'qrcode',
          component:()=>import('@/view/Aftersale/QrCode'),
          meta: {
            name:'客服管理',
            keepAlive:false,
            list:[{'name':'客服售后'},{'name':'客服管理'}]
          },
        },
        {
          path:'/index/speech',
          name:'speech',
          component:()=>import('@/view/Aftersale/Speech'),
          meta: {
            name:'客服话术',
            keepAlive:false,
            list:[{'name':'客服售后'},{'name':'客服管理'},{'name':'客服话术'}]
          },
        },
        {
          path:'/index/thaw',
          name:'thaw',
          component:()=>import('@/view/Aftersale/Thaw'),
          meta: {
            name:'蜂巢售后',
            keepAlive:false,
            list:[{'name':'备用功能'},{'name':'蜂巢售后'}]
          },
        },
        {
          path:'/index/detailsthow',
          name:'detailsthow',
          component:()=>import('@/view/Aftersale/Detailsthow'),
          meta: {
            name:'拆分记录',
            keepAlive:false
          },
        },
        {
          path:'/index/land',
          name:'land',
          component:()=>import('@/view/Jindou/Land'),
          meta: {
            name:'金蜜兑换',
            keepAlive:false,
            list:[{'name':'积分管理'},{'name':'金蜜兑换'}]
          },
        },
        {
          path:'/index/certificate',
          name:'certificate',
          component:()=>import('@/view/Jindou/Certificate'),
          meta: {
            name:'金蜜券管理',
            keepAlive:false,
            list:[{'name':'积分管理'},{'name':'金蜜券管理'}]
          },
        },
        {
          path:'/index/coupon',
          name:'coupon',
          component:()=>import('@/view/Jindou/Coupon'),
          meta: {
            name:'金蜜券管理',
            keepAlive:false,
            list:[{'name':'积分管理'},{'name':'金蜜管理'},{'name':'金蜜券管理'}]
          },
        },
        {
          path:'/index/couponsell',
          name:'couponsell',
          component:()=>import('@/view/Jindou/CouponSell'),
          meta: {
            name:'金蜜券派发',
            keepAlive:false,
            list:[{'name':'备用功能'},{'name':'金蜜券派发'}]
          },
        },
        {
          path:'/index/couponxq',
          name:'couponxq',
          component:()=>import('@/view/Jindou/Couponxq'),
          meta: {
            name:'派发详情',
            keepAlive:false,
            list:[{'name':'备用功能'},{'name':'金蜜券派发'},{'name':'派发详情'}]
          },
        },
        {
          path:'/index/landxq',
          name:'landxq',
          component:()=>import('@/view/Jindou/Landxq'),
          meta: {
            name:'生成详情',
            keepAlive:false,
            list:[{'name':'积分管理'},{'name':'金蜜管理'},{'name':'生成详情'}]
          },
        },
        {
          path:'/index/setting',
          name:'setting',
          component:()=>import('@/view/Jindou/Setting'),
          meta: {
            name:'功能设置',
            keepAlive:false,
            list:[{'name':'备用功能'},{'name':'功能设置'}]
          },
        },
        {
          path:'/index/grade',
          name:'grade',
          component:()=>import('@/view/Jindou/Grade'),
          meta: {
            name:'等级管理',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'等级管理'}]
          },
        },
        {
          path:'/index/guomi',
          name:'guomi',
          component:()=>import('@/view/Guomi/Guomi'),
          meta: {
            name:'蜜贝兑换',
            keepAlive:false,
            list:[{'name':'积分管理'},{'name':'蜜贝兑换'}]
          },
        },
        {
          path:'/index/jtqrcode',
          name:'qrcode',
          component:()=>import('@/view/Guomi/Qrcode'),
          meta: {
            name:'集团总码',
            keepAlive:false,
            list:[{'name':'积分管理'},{'name':'蜜贝兑换'},{'name':'集团总码'}]
          },
        },
        {
          path:'/index/credit',
          name:'credit',
          component:()=>import('@/view/Guomi/Credit'),
          meta: {
            name:'信用系统',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'信用系统'}]
          },
        },
        {
          path:'/index/excreteindex',
          name:'excreteindex',
          component:()=>import('@/view/Exchangeorder/ExcreteIndex'),
          meta: {
            name:'拆分记录',
            keepAlive:false,
            list:[{'name':'备用功能'},{'name':'拆分记录'}]
          },
        },
        {
          path:'/index/seetime',
          name:'seetime',
          component:()=>import('@/view/Exchangeorder/SeeTime'),
          meta: {
            name:'显示时间',
            keepAlive:false,
            list:[{'name':'备用功能'},{'name':'拆解记录'},{'name':'显示时间'}]
          },
        },
        {
          path:'/index/looktime',
          name:'looktime',
          component:()=>import('@/view/Exchangeorder/LookTime'),
          meta: {
            name:'显示时间',
            keepAlive:false,
            list:[{'name':'备用功能'},{'name':'拆分记录'},{'name':'显示时间'}]
          },
        },
        {
          path:'/index/exchangeorder',
          name:'exchangeorder',
          component:()=>import('@/view/Exchangeorder/Exchangeorder'),
          meta: {
            name:'积分订单',
            keepAlive:false,
            list:[{'name':'订单管理'},{'name':'积分订单'}]
          },
        },
        {
          path:'/index/exchangeorder1',
          name:'exchangeorder1',
          component:()=>import('@/view/Exchangeorder/Exchangeorder1'),
          meta: {
            name:'标的订单',
            keepAlive:false,
            list:[{'name':'订单管理'},{'name':'标的订单'}]
          },
        },
        {
          path:'/index/takeback',
          name:'takeback',
          component:()=>import('@/view/Exchangeorder/Takeback'),
          meta: {
            name:'回收订单',
            keepAlive:false,
            list:[{'name':'订单管理'},{'name':'回收订单'}]
          },
        },
        {
          path:'/index/jdcoupons',
          name:'jdcoupons',
          component:()=>import('@/view/Exchangeorder/Jdcoupons'),
          meta: {
            name:'金蜜券调控',
            keepAlive:false,
            list:[{'name':'订单管理'},{'name':'回收订单'},{'name':'金蜜券调控'}]
          },
        },
        {
          path:'/index/reorder',
          name:'reorder',
          component:()=>import('@/view/Exchangeorder/ReOrder'),
          meta: {
            name:'收货蜂巢',
            keepAlive:false,
            list:[{'name':'订单管理'},{'name':'回收订单'},{'name':'收货蜂巢'}]
          },
        },
        {
          path:'/index/exchangguamai',
          name:'exchangguamai',
          component:()=>import('@/view/Exchangeorder/Exchangguamai'),
          meta: {
            name:'监控数据',
            keepAlive:false,
            list:[{'name':'运营中心'},{'name':'监控数据'}]
          },
        },
        {
          path:'/index/upgradeorder',
          name:'upgradeorder',
          component:()=>import('@/view/Exchangeorder/Upgradeorder'),
          meta: {
            name:'升级订单',
            keepAlive:false,
            list:[{'name':'订单管理'},{'name':'升级订单'}]
          },
        },
        {
          path:'/index/regulationorder',
          name:'regulationorder',
          component:()=>import('@/view/Exchangeorder/Regulationorder'),
          meta: {
            name:'调控订单',
            keepAlive:false,
            list:[{'name':'订单管理'},{'name':'调控订单'}]
          },
        },
        {
          path:'/index/awardOrder',
          name:'awardOrder',
          component:()=>import('@/view/Exchangeorder/awardOrder'),
          meta: {
            name:'领奖订单',
            keepAlive:false,
            list:[{'name':'订单管理'},{'name':'领奖订单'}]
          },
        },
        {
          path:'/index/application',
          name:'application',
          component:()=>import('@/view/Application/Application'),
          meta: {
            name:'应用管理',
            keepAlive:false
          },
        },
        {
          path:'/index/applirecord',
          name:'applirecord',
          component:()=>import('@/view/Application/Applirecord'),
          meta: {
            name:'应用管理详情',
            keepAlive:false
          },
        },
        {
          path:'/index/course',
          name:'course',
          component:()=>import('@/view/Course/Course'),
          meta: {
            name:'教程管理',
            keepAlive:false,
            list:[{'name':'内容管理'},{'name':'教程管理'}]
          },
        },
        {
          path:'/index/concourse',
          name:'concourse',
          component:()=>import('@/view/Course/ConCourse'),
          meta: {
            name:'教程内容',
            keepAlive:false,
            list:[{'name':'内容管理'},{'name':'教程管理'},{'name':'教程内容'}]
          },
        },
        {
          path:'/index/sign',
          name:'sign',
          component:()=>import('@/view/Sign/Sign'),
          meta: {
            name:'签到管理',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'签到管理'}]
          },
        },
        {
          path:'/index/gift',
          name:'gift',
          component:()=>import('@/view/Live/Gift'),
          meta: {
            name:'礼品管理',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'直播管理'},{'name':'礼品管理'}]
          },
        },
        {
          path:'/index/room',
          name:'room',
          component:()=>import('@/view/Live/Room'),
          meta: {
            name:'直播间管理',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'直播管理'}]
          },
        },
        // {
        //   path:'/index/gashapon',
        //   name:'gashapon',
        //   component:()=>import('@/view/Activity/Gashapon'),
        //   meta: {
        //     name:'扭蛋管理',
        //     keepAlive:false,
        //     list:[{'name':'业务管理'},{'name':'扭蛋管理'}]
        //   },
        // },
        {
          path:'/index/detailsgashapon',  //旧活动
          name:'detailsgashapon',
          component:()=>import('@/view/Activity/DetailsGashapon'),
          meta: {
            name:'中奖纪录',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'扭蛋管理'},{'name':'中奖纪录'}]
          },
        },
        {
          path:'/index/usergashapon',  //旧活动
          name:'usergashapon',
          component:()=>import('@/view/Activity/UserGashapon'),
          meta: {
            name:'用户列表',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'扭蛋管理'},{'name':'用户列表'}]
          },
        },
        {
          path:'/index/prize',  //旧活动
          name:'prize',
          component:()=>import('@/view/Activity/Prize'),
          meta: {
            name:'添加奖品',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'扭蛋管理'},{'name':'添加奖品'}]
          },
        },
        {
          path:'/index/activity/index',  //旧活动
          name:'prize',
          component:()=>import('@/view/Activity/index'),
          meta: {
            name:'活动管理',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'扭蛋管理'}]
          },
        },
        {
          path:'/index/setmeeting',  //旧活动
          name:'setmeeting',
          component:()=>import('@/view/Activity/SetMeeting'),
          meta: {
            name:'盲盒设置',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'蜂盈礼品'},{'name':'盲盒设置'}]
          },
        },
        // {
        //   path:'/index/groupwork', //旧活动
        //   name:'groupwork',
        //   component:()=>import('@/view/Activity/GroupWork'),
        //   meta: {
        //     name:'拼团管理',
        //     keepAlive:false,
        //     list:[{'name':'业务管理'},{'name':'拼团管理'}]
        //   },
        // },
        // {
        //   path:'/index/richgroupwork', //旧活动
        //   name:'richgroupwork',
        //   component:()=>import('@/view/Activity/RichGroupWork'),
        //   meta: {
        //     name:'拼团富翁版',
        //     keepAlive:false,
        //     list:[{'name':'业务管理'},{'name':'拼团富翁版'}]
        //   },
        // },
        // {
        //   path:'/index/search',
        //   name:'search',
        //   component:()=>import('@/view/Search/Search'),
        //   meta: {
        //     name:'数据查询',
        //     keepAlive:true,
        //     list:[{'name':'数据查询'}]
        //   },
        // },
        {
          path:'/index/holddetails',
          name:'HoldDetails',
          component:()=>import('@/view/Search/HoldDetails'),
          meta: {
            name:'蜂巢列表',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'分析数据'},{'name':'数据查询'},{'name':'蜂巢列表'}]
          },
        },
        // {
        //   path:'/index/landdetails',
        //   name:'landdetails',
        //   component:()=>import('@/view/Search/Landdetails'),
        //   meta: {
        //     name:'买蜂巢详情',
        //     keepAlive:false,
        //     list:[{'name':'数据查询'},{'name':'买蜂巢详情'}]
        //   },
        // },
        // {
        //   path:'/index/deliverydetails',
        //   name:'deliverydetails',
        //   component:()=>import('@/view/Search/DeliveryDetails'),
        //   meta: {
        //     name:'交割详情',
        //     keepAlive:false,
        //     list:[{'name':'运营数据'},{'name':'分析数据'},{'name':'数据查询'},{'name':'蜂巢交割'}]
        //   },
        // },
        // {
        //   path:'/index/alldetails',
        //   name:'alldetails',
        //   component:()=>import('@/view/Search/AllDetails'),
        //   meta: {
        //     name:'交割记录',
        //     keepAlive:false,
        //     list:[{'name':'运营数据'},{'name':'分析数据'},{'name':'数据查询'},{'name':'交割记录'}]
        //   },
        // },
        {
          path:'/index/operationdata/index',
          name:'operationdata',
          component:()=>import('@/view/Operationdata/index'),
          meta: {
            name:'数据统计',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'分析数据'}]
          }
        },
        {
          path:'/index/operationdata/population/index',
          name:'operationdata',
          component:()=>import('@/view/Operationdata/Population/index'),
          meta: {
            name:'总体数据',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'总体数据'}]
          }
        },
        {
          path:'/index/operationdata/population/detailsEcharts1',
          name:'operationdata',
          component:()=>import('@/view/Operationdata/Population/DetailsEcharts1'),
          meta: {
            name:'新增用户详情',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'总体数据'},{'name':'新增用户详情'}]
          }
        },
        {
          path:'/index/operationdata/population/detailsEcharts2',
          name:'operationdata',
          component:()=>import('@/view/Operationdata/Population/DetailsEcharts2'),
          meta: {
            name:'预约情况详情',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'总体数据'},{'name':'预约情况详情'}]
          }
        },
        {
          path:'/index/operationdata/population/detailsEcharts3',
          name:'operationdata',
          component:()=>import('@/view/Operationdata/Population/DetailsEcharts3'),
          meta: {
            name:'日活数据详情',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'总体数据'},{'name':'日活数据详情'}]
          }
        },
        {
          path:'/index/operationdata/population/detailsEcharts4',
          name:'operationdata',
          component:()=>import('@/view/Operationdata/Population/DetailsEcharts4'),
          meta: {
            name:'抢拍情况详情',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'总体数据'},{'name':'抢拍情况详情'}]
          }
        },
        {
          path:'/index/operationdata/population/detailsEcharts5',
          name:'operationdata',
          component:()=>import('@/view/Operationdata/Population/DetailsEcharts5'),
          meta: {
            name:'蜜贝数据详情',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'总体数据'},{'name':'蜜贝数据详情'}]
          }
        },
        {
          path:'/index/operationdata/population/detailsEcharts6',
          name:'operationdata',
          component:()=>import('@/view/Operationdata/Population/DetailsEcharts6'),
          meta: {
            name:'流失用户详情',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'总体数据'},{'name':'流失用户详情'}]
          }
        },
        {
          path:'/index/operationdata/monitor/index',
          name:'monitor',
          component:()=>import('@/view/Operationdata/Monitor/index'),
          meta: {
            name:'监控数据',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'监控数据'}]
          }
        },
        {
          path:'/index/operationdata/monitor/saleanalysis',
          name:'saleanalysis',
          component:()=>import('@/view/Operationdata/Monitor/Saleanalysis'),
          meta: {
            name:'挂卖分析',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'挂卖分析'}]
          }
        },
        {
          path:'/index/operationdata/monitor/detailsmonitor1',
          name:'detailsmonitor1',
          component:()=>import('@/view/Operationdata/Monitor/DetailsMonitor1'),
          meta: {
            name:'实际预约详情',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'监控数据'},{'name':'实际预约详情'}]
          }
        },
        {
          path:'/index/operationdata/monitor/detailsmonitor2',
          name:'detailsmonitor2',
          component:()=>import('@/view/Operationdata/Monitor/DetailsMonitor2'),
          meta: {
            name:'显示预约详情',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'监控数据'},{'name':'显示预约详情'}]
          }
        },
        {
          path:'/index/operationdata/monitor/detailsmonitor3',
          name:'detailsmonitor3',
          component:()=>import('@/view/Operationdata/Monitor/DetailsMonitor3'),
          meta: {
            name:'挂卖详情',
            keepAlive:false,
            list:[{'name':'运营数据'},{'name':'监控数据'},{'name':'挂卖详情'}]
          }
        },
        {
          path:'/index/jurisdictionall',
          name:'jurisdictionall',
          component:()=>import('@/view/Jurisdictionall/Jurisdictionall'),
          meta: {
            name:'权限管理',
            keepAlive:false,
            list:[{'name':'权限管理'}]
          }
        },
        {
          path:'/index/saleset',
          name:'saleset',
          component:()=>import('@/view/Manor/SaleSet'),
          meta: {
            name:'挂卖设置',
            keepAlive:false,
            list:[{'name':'备用功能'},{'name':'挂卖设置'}]
          }
        },
        {
          path:'/index/stopswitch',
          name:'stopswitch',
          component:()=>import('@/view/Trading/Stopswitch'),
          meta: {
            name:'休息记录',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'休息设置'},{'name':'休息记录'}]
          }
        },
        {
          path:'/index/regularstop',
          name:'regularstop',
          component:()=>import('@/view/Trading/Regularstop'),
          meta: {
            name:'休息设置',
            keepAlive:false,
            list:[{'name':'业务管理'},{'name':'休息设置'}]
          }
        },
        {
          path:'/index/shop',
          name:'shop',
          component:()=>import('@/view/Shop/Shop'),
          meta: {
            name:'产品仓库',
            keepAlive:false,
            list:[{'name':'商品管理'},{'name':'产品仓库'}]
          }
        },
        {
          path:'/index/shop/shoporder',
          name:'shoporder',
          component:()=>import('@/view/Shop/Shoporder'),
          meta: {
            name:'商品订单',
            keepAlive:false,
            list:[{'name':'商品管理'},{'name':'商品订单'}]
          }
        },
        {
          path:'/index/shop/shopclassify',
          name:'shopclassify',
          component:()=>import('@/view/Shop/Shopclassify'),
          meta: {
            name:'商品分类',
            keepAlive:false,
            list:[{'name':'商品管理'},{'name':'商品分类'}]
          }
        },
        {
          path:'/index/shop/carousel',
          name:'carousel',
          component:()=>import('@/view/Shop/Carousel'),
          meta: {
            name:'轮播管理',
            keepAlive:false,
            list:[{'name':'商品管理'},{'name':'轮播管理'}]
          }
        },


        {
          path:'/index/shop/warehouse/basics',
          name:'basics',
          component:()=>import('@/view/Shop/Warehouse/Basics'),
          meta: {
            name:'基础模块',
            keepAlive:true,
            list:[{'name':'商品管理'},{'name':'产品仓库'},{'name':'基础模块'}]
          }
        },
        {
          path:'/index/shop/warehouse/standards',
          name:'standards',
          component:()=>import('@/view/Shop/Warehouse/Standards'),
          meta: {
            name:'规格',
            keepAlive:true,
            list:[{'name':'商品管理'},{'name':'产品仓库'},{'name':'基础模块'},{'name':'规格'}]
          }
        },
        {
          path:'/index/shop/warehouse/detailsstandards',
          name:'detailsstandards',
          component:()=>import('@/view/Shop/Warehouse/DetailsStandards'),
          meta: {
            name:'规格详情',
            keepAlive:false,
            list:[{'name':'商品管理'},{'name':'产品仓库'},{'name':'基础模块'},{'name':'规格'},{'name':'规格详情'}]
          }
        },
        {
          path:'/index/shop/warehouse/productdetails',
          name:'productdetails',
          component:()=>import('@/view/Shop/Warehouse/Productdetails'),
          meta: {
            name:'产品详情',
            keepAlive:true,
            list:[{'name':'商品管理'},{'name':'产品仓库'},{'name':'基础模块'},{'name':'规格'},{'name':'规格详情'},{'name':'产品详情'}]
          }
        },


        {
          path:'/index/shop/upwarehouse/basics',
          name:'upbasics',
          component:()=>import('@/view/Shop/Upwarehouse/Basics'),
          meta: {
            name:'基础模块',
            keepAlive:false,
            list:[{'name':'商品管理'},{'name':'产品仓库'},{'name':'基础模块'}]
          }
        },
        {
          path:'/index/shop/upwarehouse/standards',
          name:'upstandards',
          component:()=>import('@/view/Shop/Upwarehouse/Standards'),
          meta: {
            name:'规格',
            keepAlive:false,
            list:[{'name':'商品管理'},{'name':'产品仓库'},{'name':'基础模块'},{'name':'规格'}]
          }
        },
        {
          path:'/index/shop/upwarehouse/detailsstandards',
          name:'updetailsstandards',
          component:()=>import('@/view/Shop/Upwarehouse/DetailsStandards'),
          meta: {
            name:'规格详情',
            keepAlive:false,
            list:[{'name':'商品管理'},{'name':'产品仓库'},{'name':'基础模块'},{'name':'规格'},{'name':'规格详情'}]
          }
        },
        {
          path:'/index/shop/upwarehouse/productdetails',
          name:'upproductdetails',
          component:()=>import('@/view/Shop/Upwarehouse/Productdetails'),
          meta: {
            name:'产品详情',
            keepAlive:false,
            list:[{'name':'商品管理'},{'name':'产品仓库'},{'name':'基础模块'},{'name':'规格'},{'name':'规格详情'},{'name':'产品详情'}]
          }
        },


        {
          path:'/index/activitynew/setup/index',
          name:'setupindex',
          component:()=>import('@/view/Activitynew/Setup/index'),
          meta: {
            name:'活动设置',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'活动设置'}]
          }
        },
        {
          path:'/index/activitynew/egg/egg',
          name:'egg',
          component:()=>import('@/view/Activitynew/Egg/Egg'),
          meta: {
            name:'扭蛋管理',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'扭蛋管理'}]
          }
        },
        {
          path:'/index/activitynew/egg/prize',
          name:'eggprize',
          component:()=>import('@/view/Activitynew/Egg/Prize'),
          meta: {
            name:'银蛋管理',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'扭蛋管理'},{'name':'银蛋管理'}]
          }
        },
        {
          path:'/index/activitynew/egg/jackpot',
          name:'jackpot',
          component:()=>import('@/view/Activitynew/Egg/Jackpot'),
          meta: {
            name:'将池查询',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'扭蛋管理'},{'name':'将池查询'}]
          }
        },
        {
          path:'/index/activitynew/meeting/meeting',
          name:'meeting',
          component:()=>import('@/view/Activitynew/Meeting/Meeting'),
          meta: {
            name:'蜂盈见面礼',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'蜂盈见面礼'}]
          }
        },
        {
          path:'/index/activitynew/meeting/setmeeting',
          name:'setmeeting',
          component:()=>import('@/view/Activitynew/Meeting/SetMeeting'),
          meta: {
            name:'奖品设置',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'蜂盈见面礼'},{'name':'奖品设置'}]
          }
        },
        {
          path:'/index/activitynew/meeting/participate',
          name:'participate',
          component:()=>import('@/view/Activitynew/Meeting/Participate'),
          meta: {
            name:'参与人数',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'蜂盈见面礼'},{'name':'参与人数'}]
          }
        },
        {
          path:'/index/activitynew/sharinggift/sharinggift',
          name:'sharinggift',
          component:()=>import('@/view/Activitynew/Sharinggift/Sharinggift'),
          meta: {
            name:'分享活动',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'分享活动'}]
          }
        },
        {
          path:'/index/activitynew/welcome/welcome',
          name:'welcome',
          component:()=>import('@/view/Activitynew/Welcome/Welcome'),
          meta: {
            name:'蜜贝迎新礼',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'蜜贝迎新礼'}]
          }
        },
        {
          path:'/index/activitynew/welcome/participate',
          name:'participate',
          component:()=>import('@/view/Activitynew/Welcome/Participate'),
          meta: {
            name:'参与人数',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'蜜贝迎新礼'},{'name':'参与人数'}]
          }
        },
        {
          path:'/index/activitynew/privilege/privilege',
          name:'privilege',
          component:()=>import('@/view/Activitynew/Privilege/Privilege'),
          meta: {
            name:'特权抢拍区',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'特权抢拍区'}]
          }
        },
        {
          path:'/index/activitynew/privilege/participate',
          name:'participate',
          component:()=>import('@/view/Activitynew/Privilege/Participate'),
          meta: {
            name:'参与人数',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'特权抢拍区'},{'name':'参与人数'}]
          }
        },
        {
          path:'/index/temporary/query',
          name:'temporaryquery',
          component:()=>import('@/view/Temporary/Query'),
          meta: {
            name:'查询',
            keepAlive:false,
            list:[{'name':'备用功能'},{'name':'查询'}]
          }
        },
        {
          path:'/index/activitynew/welfare/welfare',
          name:'welfare',
          component:()=>import('@/view/Activitynew/Welfare/Welfare'),
          meta: {
            name:'福利专区',
            keepAlive:false,
            list:[{'name':'活动管理'},{'name':'福利专区'}]
          }
        },
      ]
    },
  ]
})
